package com.xxx.springboot.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author gwq
 * @since 2020-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user")
public class User implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 用户名称
     */
      private String userName;

      /**
     * 真实名称
     */
      private String realName;

      /**
     * 姓名
     */
      private Integer sex;

      /**
     * 电话
     */
      private String mobile;

      /**
     * 邮箱
     */
      private String email;

      /**
     * 备注
     */
      private String note;

    private Integer positionId;


}
